/*
 * Copyright (c) Jack魏 2023 - 2023, All Rights Reserved.
 */

package cn.jackwei.yiyi.pojo.constant;

/**
 * 通用常量类
 *
 * @author Jack魏
 * @since 2023/10/20
 */
public class CommonConsts {
    /**
     * 请求头Token存储key
     */
    public static final String AUTHORIZATION = "Authorization";

    /**
     * Token前缀
     */
    public static final String TOKEN_PREFIX = "Bearer ";

    /**
     * 用户id
     */
    public static final String USER_ID = "userId";

    /**
     * 用户名
     */
    public static final String USER_NAME = "userName";

    /**
     * 数据库关键字前缀
     */
    public static final String SQL_KEY_PREFIX = "`";

    /**
     * 数据库关键字后缀
     */
    public static final String SQL_KEY_SUFFIX = "`";

    /**
     * 正常标志
     */
    public static final Integer NORMAL = 0;

    /**
     * 删除标志
     */
    public static final Integer DEL = 1;
}
